#ifndef ASTYLEPLUGIN_H
#define ASTYLEPLUGIN_H

#include <wx/wxprec.h>
#include <M_Code_plugin.h>

class AStylePlugin : public cbToolPlugin {
  public:
    AStylePlugin();
    ~AStylePlugin();
    int GetConfigurationGroup() const { return cgEditor; }
    cbConfigurationPanel* GetConfigurationPanel( wxWindow* parent );
    void BuildModuleMenu( const ModuleType type, wxMenu* menu, const FileTreeData* data = 0 );
    int Execute();
    void OnFormatActiveFile( wxCommandEvent& event );
    void OnFormatProject( wxCommandEvent& event );
    void FormatFile( const wxString &filename );
    bool FormatEditor( M_Code_Editor *ed );
    DECLARE_EVENT_TABLE()
};

#endif
